package SpringIOC;

import SpringIOC.impl.Chinese;
import SpringIOC.impl.Japan;

public class FactoryTest {
    public static Person doPerson(){
        return new Chinese("中国人");
    }
    public Person doperson1(){
        return new Japan("日本人");
    }
}
